package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 模型信息对象 model
 * 
 * @author ruoyi
 * @date 2024-01-22
 */
public class Model extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 模型编码 */
    @Excel(name = "模型编码")
    private String code;

    /** 模型名称 */
    @Excel(name = "模型名称")
    private String name;

    /** 模型logo */
    @Excel(name = "模型logo")
    private String logo;

    /** 关键词（多关键词用“，”隔开） */
    @Excel(name = "关键词", readConverterExp = "多=关键词用“，”隔开")
    private String keyword;

    /** 模型要旨 */
    @Excel(name = "模型要旨")
    private String gist;

    /** 模型简介 */
    @Excel(name = "模型简介")
    private String description;

    /** 数据分析方法 */
    @Excel(name = "数据分析方法")
    private String analysis;

    /** 逻辑删除标识（0-默认，1-逻辑删除） */
    private Integer delFlag;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date created;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updated;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setLogo(String logo) 
    {
        this.logo = logo;
    }

    public String getLogo() 
    {
        return logo;
    }
    public void setKeyword(String keyword) 
    {
        this.keyword = keyword;
    }

    public String getKeyword() 
    {
        return keyword;
    }
    public void setGist(String gist) 
    {
        this.gist = gist;
    }

    public String getGist() 
    {
        return gist;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setAnalysis(String analysis) 
    {
        this.analysis = analysis;
    }

    public String getAnalysis() 
    {
        return analysis;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }
    public void setCreated(Date created) 
    {
        this.created = created;
    }

    public Date getCreated() 
    {
        return created;
    }
    public void setUpdated(Date updated) 
    {
        this.updated = updated;
    }

    public Date getUpdated() 
    {
        return updated;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("name", getName())
            .append("logo", getLogo())
            .append("keyword", getKeyword())
            .append("gist", getGist())
            .append("description", getDescription())
            .append("analysis", getAnalysis())
            .append("delFlag", getDelFlag())
            .append("created", getCreated())
            .append("updated", getUpdated())
            .toString();
    }
}
